<{include file="admin_header.html"}>
	<script>
		$(document).ready(function() {
            $(".add").fancybox({
        		maxWidth	: 500,
        		maxHeight	: 350,
        		fitToView	: false,
        		width		: '70%',
        		height		: '70%',
        		autoSize	: false,
        		closeClick	: false,
        		openEffect	: 'none',
        		closeEffect	: 'none'
        	   });
			
		});
	</script>
<body>  
<form name="myform" method="post" action="">
 <input type="hidden" name="selids" value=""/>
	<table class="tab_list tab_bottom">
	<caption><a href="#">◆用户管理</a> <a class='add fn-right fancybox.iframe' href='<{spUrl c=user a=add}>'>添加</a></caption>
	<tr><th class="checkbox"><input name="checkbox" type="checkbox" onclick="checkorno(this,this.form.catids)" class="input-txt"/></th><th><{T w='Full Name'}></th><th class="td_action"><{T w='Action'}></th></tr>
<{foreach item=item name=user from=$tUsers}>  
	<tr>
		<td class="checkbox"><input type="checkbox" name="catids" id="catids" value="<{$item.uid}>"/></td>
		<td><a href=""><{$item.user_name}></a> <{$item.uname}></td>
		<td class="td_action">
        <a class='add fancybox.iframe' href='<{spUrl c=user a=edit uid=$item.uid}>'>修改</a> | <a href="<{spUrl c=user a=del uid=$item.uid}>" onClick="return confirm('确认删除吗？')">删除</a>
        </td>
	</tr>
<{foreachelse}><tr><td colspan="3">数据空</td></tr><{/foreach}>


	</table> 
<div id="submit_float">
<button name="select1" onClick="selAll(this.form.catids)" type="button">全选</button>
   <button name="select2" onClick="noSelAll(this.form.catids)" type="button">反选</button>
   <button name="order" type="button" onClick="subform(this.form,this.form.catids,'<{spUrl c=user a=del}>','')">删除选中</button>
   <button name="reset" type="reset">重置</button>
</div>
</form>

<{include file="admin_footer.html"}>
</body>
</html>